package generator.gridgain;


import java.io.Serializable;
import java.util.concurrent.Callable;

public class GridExecutorJob implements Serializable, Callable<GridExecutorResult> {
	
	private anyType job;
	
	public GridExecutorJob(anyType job){
		this.job = job;
	}
	
	public GridExecutorResult call() throws Exception{
		
		return new GridExecutorResult((anyType)job.anyMethod());
	}
	
	

}
